<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@1.6/lib/index.css">

		<!-- 引入组件 -->
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/vant@1.6/lib/vant.min.js"></script>
		<script src="html5plus://ready"></script>
		<script type="text/javascript" src="../js/back.js"></script>
		<script type="text/javascript" src="../js/back1.js"></script>
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	</head>
	<body>
		<div id="app">
			<header>
				<van-nav-bar style="background-color: red;" title="修改密码"  @click-left="onback1" left-arrow></van-nav-bar>
			</header>
			<van-row>
				<van-col span="24">
					<van-cell title="修改登录密码" is-link @click="lefton"></van-cell>
				</van-col>
			</van-row>
			<van-row>
				<van-col span="24">
					<van-cell title="退出登录" is-link @click="setLogin()"></van-cell>
				</van-col>
			</van-row>


		</div>
		<script>
			var vm = new Vue({
				el: "#app",
				data: {

				},
				methods: {
					lefton() {
						plus.webview.create("JAChangepwd.html").show()
					},

					onback1: function() {
						plus.webview.close(plus.webview.currentWebview().id);
					},
					setLogin:function(){
						localStorage.removeItem("key");
						var c=plus.webview.getWebviewById("setas");
						c.reload(true);
						setTimeout(function (){
							plus.webview.currentWebview().close();
						},1000)
						
					}
				}
			})
		</script>
	</body>
</html>
